package ntu.p2p.dht.messaging;

import ntu.p2p.dht.DHTContentKey;
import rice.p2p.commonapi.Id;
import rice.p2p.commonapi.NodeHandle;
import rice.p2p.past.messaging.LookupMessage;

public class DHTLookupMessage extends LookupMessage {
	
	protected DHTContentKey key;

	public DHTLookupMessage(int uid, DHTContentKey key, NodeHandle source, Id dest) {
		super(uid, key.getId(), source, dest);
		this.key = key;
	}

	public DHTContentKey getKey() {
		return key;
	}
}
